﻿namespace 七
{
    internal class Program
    {
        static void Main(string[] args)
        {
            Print p = new Print();
            A a =p;
            B b = p;
            a.printCapitalLetter();
            b.printLowercaseLetter();
        }
    }
    interface A
    {
        void printCapitalLetter() { }
    }
    interface B
    {
        void printLowercaseLetter() { }
    }
    class Print:A,B
    {
        void printCapitalLetter()
        {
            char i = 'a';
            while(i!='z')
            {
                Console.Write(i + " ");
                i++;
            }
            Console.WriteLine();
        }
        void printLowercaseLetter() 
        {
            char i = 'A';
            while (i != 'Z')
            {
                Console.Write(i + " ");
                i++;
            }
            Console.WriteLine();
        }
    }
}
